package com.wyd.jwpkglxt_ssm.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wyd.jwpkglxt_ssm.entity.Area;
import com.wyd.jwpkglxt_ssm.entity.Classroom;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Accessors(chain = true)
public class OpeningClassInfoPo {
    /**
     * 开班信息表主键id
     */
    private Integer id;

    /**
     * 技术方向
     */
    private String technicalDirection;
    /**
     * 班级性质
     */
    private String classNature;

    private String classTeacher;

    private String lecturer;

    private String assistant;

    private String schoolInfo;

    /**
     * 开班日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date openingDate;
    /**
     * 结束日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date endingDate;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private Area area;

    private Classroom classroom;
}
